package cn.com.duiba.millionaire.center.biz.service;

import cn.com.duiba.millionaire.center.api.msg.SubmitAnswerMsg;

import java.util.List;

/**
 * 复活卡使用信息缓存，存放在redis，set数据
 * Created by zzy on 2018/1/24.
 */
public interface RenascenceUsageInfoCacheService {
    void batchAdd(List<SubmitAnswerMsg> submitAnswerMsgs);

    /**
     * 根据活动id和题目index查询使用复活卡人数
     *
     * @param activityId
     * @param questionIndex
     * @return
     */
    Long findCount(Long activityId, Integer questionIndex);
}
